package com.cqhilink.api.common.utils.annotation;

import com.cqhilink.api.common.utils.ConfigPropertyTool;

/**
 * 测试demo
 *
 * @author 王镇
 * @create 2017-11-02 15:06
 */
public class UserDemo {

    @RightAnnotation
    private String id;
    private String name;
    private String age;

    public static void main(String[] args) {
//        UserDemo advertise = new UserDemo();
//        advertise.setId("XNJV3M3kqvjkKjumoBm5Yup5562SW9Hz123");
//        advertise.setAge("3");
//        System.out.println(AnnotationDealUtil.validate(advertise));

//        System.out.println(ConfigPropertyTool.getValue("lisence"));
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
